-- GENERATED SPELL FOR [Captured Sprite Darter] --


function spell0_7997(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(11981,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7997', 3000, 1)
end

function Sorts_7997(pUnit, Event)
local choix_sorts_7997 = math.random(0, 0)
if choix_sorts_7997 == 0 then
pUnit:RegisterEvent('spell0_7997', 1, 1)
end
end

function mob7997_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7997', math.random(1500, 3000), 1)
end

function mob7997_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7997_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7997_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7997, 1, 'mob7997_Action')
RegisterUnitEvent(7997, 2, 'mob7997_Leave')
RegisterUnitEvent(7997, 3, 'mob7997_Kill')
RegisterUnitEvent(7997, 4, 'mob7997_Die')
